﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="University.Workshop.WebApp.UserProducts" MasterPageFile="~/UserCP.Master" Codebehind="UserProducts.aspx.cs" %>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <table style="width: 55%; height: 177px;" >
        
        <tr>
            <td class="style1">
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false" 
                    HorizontalAlign="Center" AutoGenerateSelectButton="true" SelectedIndex="1" 
                     OnSelectedIndexChanged="GridView1_SelectedIndexChanged" CellPadding="2" AllowPaging="true"
                    CellSpacing="4" Width="605px" 
                    onpageindexchanged="GridView1_PageIndexChanged" 
                    onpageindexchanging="GridView1_PageIndexChanging">
                     <columns>
          <asp:boundfield datafield="ProductID" headertext="Product ID" />
          <asp:boundfield datafield="Name" headertext="Name"/>
          <asp:boundfield datafield="Category" headertext="Category"/>
          
          <asp:boundfield datafield="Price" headertext="Price"/>
          <asp:boundfield datafield="Currency" headertext="Currency"/>
          <asp:boundfield datafield="Status" headertext="Status"/>
        </columns>

       <selectedrowstyle backcolor="LightCyan"
         forecolor="DarkBlue"
         font-bold="true"/>  

                </asp:GridView>
                
            </td>
            <td>
                
                &nbsp;</td>
            
        </tr>
        <tr>
        <td></td>
        </tr>
        <tr>
        <td>
                
                <asp:Label ID="LblError" runat="server" ForeColor="Red" 
                    Visible="False"></asp:Label>
                
            </td>
        </tr>
        <tr>
            <td></td>
        </tr>
        <tr>
        
        <td>
                
                <asp:Button ID="BtnAuction" runat="server" Text="Register Auction" 
                    onclick="BtnAuction_Click" Height="46px" Width="145px" 
                    Font-Bold="True" ForeColor="#003399" Enabled="False"  />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Button ID="BtnOffers" runat="server" Text="View Offers" 
                     Height="46px" Width="145px" 
                    Font-Bold="True" ForeColor="#003399" Enabled="False" 
                    onclick="BtnOffers_Click"  />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                
            </td>
        
        </tr>
        <tr>
        <td>
            <asp:Label ID="LblProductName" runat="server" Visible="False"></asp:Label>
            </td>
        <td>
                <asp:Label ID="LblProductIdSelect" runat="server" Visible="False"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style1">
                
                <asp:Button ID="BtnCancelAuction" runat="server" Height="46px" 
                    onclick="BtnCancelAuction_Click" Text="Cancel Auction" Font-Bold="True" 
                    ForeColor="#003399" Enabled="False" />
                
            </td>
            
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content3" runat="server" contentplaceholderid="HeadContent">
    <style type="text/css">
        .style1
        {
            width: 374px;
        }
    </style>
</asp:Content>

